package com.hxl.tech.gateway.auth.dto.user;


import com.hxl.tech.gateway.auth.dto.PageRequest;
import com.hxl.tech.gateway.common.constant.AppConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户查询 DTO
 * @author soliddq
 * @date 2023-10-10
 */
@Data
public class UserFindDTO extends PageRequest {

    @ApiModelProperty(value = "用户ID", name = "user_id", required = false)
    private String userId;

    @ApiModelProperty(value = "用户名称", name = "user_name", required = false)
    private String userName;

    @ApiModelProperty(value = "角色名称", name = "role_name", required = false)
    private String roleName;

    @ApiModelProperty(value = "电话", name = "phone", required = false)
    private String phone;

    @ApiModelProperty(value = AppConstant.StateEnum.description, name = "state", required = false)
    private AppConstant.StateEnum state;

}
